const Service = require('egg').Service;

class HomeService extends Service { 
    async getlist(){  
        let res = await this.app.mysql.query(`select * from user`);
        return res;
    }
}

module.exports = HomeService;